package cn.common.dto;

import cn.common.enums.RetryLevel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

import java.util.List;
import java.util.concurrent.TimeUnit;

/**
 * Copyright
 *
 * @Author WuHuang
 * @Date 2022/12/21
 */
@Data
@Builder
@AllArgsConstructor
public class DelayMessageDTO {
    private String workBeanName;
    private String businessName;
    private String body;
    private Long deayTime;
    private Integer ttr;
    private TimeUnit timeUnit;
    private String serviceName;
    private String retryNo;
    private Integer delayRetryMaxCount;
    private Integer delayCurRetryCount;
    private String businessNo;
    private List<RetryLevel> sortedLevelList;
    private Integer sendMessageCurrentCount;
}
